package com.ymatou.iapi.livemanage.service;

import java.util.HashMap;
import java.util.Map;

import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;

public class GetSellerInfoCall extends YmatouAutoTestCall{
private static String opurl ="api/activity/GetSellerInfo";
	
	public GetSellerInfoCall() {
		super(EnvSetup.getSystemUrl("livemanage"),opurl,"GET","PARAM");
	}
	@Override
	public void addDefHeader() {
	}
	
	
	public void setData(Map<String, Object> paramMap){
		
		String paramStr = "";
		if (paramMap!=null){
			for(String strKey : paramMap.keySet()){
				paramStr = paramStr + "&"+strKey+"="+paramMap.get(strKey);
			}
			paramStr = paramStr.substring(1);
			System.out.print(paramStr);
		}
		
		
		super.setData(paramStr);
	}
	
	public static void main(String[] args) {
		Map<String, Object> paramMap = new HashMap<String, Object>();
		paramMap.put("SellerId", 3383);
		new  GetSellerInfoCall().callAndGetReturnData(paramMap);
	}
	
}
